3.1.75 \(\int \sqrt {x} \sqrt {b x+c x^2} \, dx\) [75]

Optimal. Leaf size=52 \[ -\frac {4 b \left (b x+c x^2\right )^{3/2}}{15 c^2 x^{3/2}}+\frac {2 \left (b x+c x^2\right )^{3/2}}{5 c \sqrt {x}} \]

[Out]

-4/15*b*(c*x^2+b*x)^(3/2)/c^2/x^(3/2)+2/5*(c*x^2+b*x)^(3/2)/c/x^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {670, 662} \begin {gather*} \frac {2 \left (b x+c x^2\right )^{3/2}}{5 c \sqrt {x}}-\frac {4 b \left (b x+c x^2\right )^{3/2}}{15 c^2 x^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[x]*Sqrt[b*x + c*x^2],x]

[Out]

(-4*b*(b*x + c*x^2)^(3/2))/(15*c^2*x^(3/2)) + (2*(b*x + c*x^2)^(3/2))/(5*c*Sqrt[x])

Rule 662

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[e*(d + e*x)^(m - 1)*
((a + b*x + c*x^2)^(p + 1)/(c*(p + 1))), x] /; FreeQ[{a, b, c, d, e, m, p}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c
*d^2 - b*d*e + a*e^2, 0] &&  !IntegerQ[p] && EqQ[m + p, 0]

Rule 670

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[e*(d + e*x)^(m - 1)*
((a + b*x + c*x^2)^(p + 1)/(c*(m + 2*p + 1))), x] + Dist[Simplify[m + p]*((2*c*d - b*e)/(c*(m + 2*p + 1))), In
t[(d + e*x)^(m - 1)*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, m, p}, x] && NeQ[b^2 - 4*a*c, 0] && E
qQ[c*d^2 - b*d*e + a*e^2, 0] &&  !IntegerQ[p] && IGtQ[Simplify[m + p], 0]

Rubi steps

\begin {align*} \int \sqrt {x} \sqrt {b x+c x^2} \, dx &=\frac {2 \left (b x+c x^2\right )^{3/2}}{5 c \sqrt {x}}-\frac {(2 b) \int \frac {\sqrt {b x+c x^2}}{\sqrt {x}} \, dx}{5 c}\\ &=-\frac {4 b \left (b x+c x^2\right )^{3/2}}{15 c^2 x^{3/2}}+\frac {2 \left (b x+c x^2\right )^{3/2}}{5 c \sqrt {x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.02, size = 41, normalized size = 0.79 \begin {gather*} \frac {2 \sqrt {x (b+c x)} \left (-2 b^2+b c x+3 c^2 x^2\right )}{15 c^2 \sqrt {x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[x]*Sqrt[b*x + c*x^2],x]

[Out]

(2*Sqrt[x*(b + c*x)]*(-2*b^2 + b*c*x + 3*c^2*x^2))/(15*c^2*Sqrt[x])

________________________________________________________________________________________

Maple [A]
time = 0.38, size = 31, normalized size = 0.60

method result size
default \(-\frac {2 \left (c x +b \right ) \left (-3 c x +2 b \right ) \sqrt {x \left (c x +b \right )}}{15 c^{2} \sqrt {x}}\) \(31\)
gosper \(-\frac {2 \left (c x +b \right ) \left (-3 c x +2 b \right ) \sqrt {c \,x^{2}+b x}}{15 c^{2} \sqrt {x}}\) \(33\)
risch \(-\frac {2 \left (c x +b \right ) \sqrt {x}\, \left (-3 c^{2} x^{2}-b c x +2 b^{2}\right )}{15 \sqrt {x \left (c x +b \right )}\, c^{2}}\) \(42\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(1/2)*(c*x^2+b*x)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-2/15*(c*x+b)*(-3*c*x+2*b)*(x*(c*x+b))^(1/2)/c^2/x^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 30, normalized size = 0.58 \begin {gather*} \frac {2 \, {\left (3 \, c^{2} x^{2} + b c x - 2 \, b^{2}\right )} \sqrt {c x + b}}{15 \, c^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1/2)*(c*x^2+b*x)^(1/2),x, algorithm="maxima")

[Out]

2/15*(3*c^2*x^2 + b*c*x - 2*b^2)*sqrt(c*x + b)/c^2

________________________________________________________________________________________

Fricas [A]
time = 1.67, size = 37, normalized size = 0.71 \begin {gather*} \frac {2 \, {\left (3 \, c^{2} x^{2} + b c x - 2 \, b^{2}\right )} \sqrt {c x^{2} + b x}}{15 \, c^{2} \sqrt {x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1/2)*(c*x^2+b*x)^(1/2),x, algorithm="fricas")

[Out]

2/15*(3*c^2*x^2 + b*c*x - 2*b^2)*sqrt(c*x^2 + b*x)/(c^2*sqrt(x))

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {x} \sqrt {x \left (b + c x\right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(1/2)*(c*x**2+b*x)**(1/2),x)

[Out]

Integral(sqrt(x)*sqrt(x*(b + c*x)), x)

________________________________________________________________________________________

Giac [A]
time = 1.17, size = 34, normalized size = 0.65 \begin {gather*} \frac {4 \, b^{\frac {5}{2}}}{15 \, c^{2}} + \frac {2 \, {\left (3 \, {\left (c x + b\right )}^{\frac {5}{2}} - 5 \, {\left (c x + b\right )}^{\frac {3}{2}} b\right )}}{15 \, c^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1/2)*(c*x^2+b*x)^(1/2),x, algorithm="giac")

[Out]

4/15*b^(5/2)/c^2 + 2/15*(3*(c*x + b)^(5/2) - 5*(c*x + b)^(3/2)*b)/c^2

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \sqrt {x}\,\sqrt {c\,x^2+b\,x} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(1/2)*(b*x + c*x^2)^(1/2),x)

[Out]

int(x^(1/2)*(b*x + c*x^2)^(1/2), x)

________________________________________________________________________________________